package com.lc.service;

import com.github.pagehelper.PageInfo;
import com.guigu.pojo.*;
import com.guigu.viwe.PageVo;
import com.lc.vo.OrderTmnberView;
import com.lc.vo.checkgroupcheckitemView;
import com.lc.vo.setmealTcheckgroupView;

import java.util.List;

/**
 * 预约管理
 */
public interface TOrderService {

    PageInfo<OrderTmnberView> queryallpageorderlistService(PageVo<OrderTmnberView> pageVo);

    PageInfo<TSetmeal> querysetmealService(PageVo<TSetmeal> pageVo);

    List<TMember> seachmembernameService(String name);

    TMember seachmembername1Service1(String name);

    void insertorderlistService(TOrder order);

    void quedingyuyueService(OrderTmnberView OrderTmnberView);

    void quxiaoyuyueService(OrderTmnberView OrderTmnberView);

    List<TOrdersetting> queryordersettingallService();

    void insertTordersettingService(TOrdersetting ordersetting);

    PageInfo<TSetmeal> querysetmealallpage(PageVo<TSetmeal> pageVo);

    List<TCheckgroup>  querycheckgroupall(PageVo<TCheckgroup> pageVo);

   void addcheckgroupService(checkgroupcheckitemView view);

   void addsetmealortcheckgroupService(setmealTcheckgroupView setmealTcheckgroupView);

   PageInfo<TCheckitem> queryallcheckitemAllService(PageVo<TCheckitem> checkitemPageVo);

    PageInfo<TCheckgroup> selectallcheckgroupService(PageVo<TCheckgroup> pageVo);

    void addcheckitemService(TCheckitem checkitem);

    void updatecheckitemService(TCheckitem checkitem);

    void deletecheckitemService(TCheckitem checkitem);

    List<TCheckitem> queryallcheckitemallnotpageService(PageVo<TCheckitem> pageVo);

    List<TCheckgroup> querycheckzhocheckgroup(int setmealid);

    void updatesetmealandcheckgroupService(setmealTcheckgroupView view);

    List<TCheckitem> querythischeckgroupyoudecheckitemServicce(int id);

    void updatetcheckgroupService(checkgroupcheckitemView view);

    List<TMember> selectmemberformnameandidcardService(String n);

    List<TOrdersetting> queryordersettingnumbernotreser();

    boolean yanzorderdateService(String date);

    boolean booleanmemberyuyue(TMember member);

}
